package com.bi.onlineEducation.web;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@EnableJpaRepositories(basePackages = {"com.bi.onlineEducation.dao"})
@ComponentScan(basePackages = {"com.bi.onlineEducation"})
@MapperScan(basePackages = {"com.bi.onlineEducation.dao"})
@EntityScan("com.bi.onlineEducation.domain")
public class OnlineEducationWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(OnlineEducationWebApplication.class, args);
    }

}
